package com.ljx.sso.feign;

import com.ljx.entity.Permission;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(value = "cai-system")
public interface PermissionFeign {

	@GetMapping("/system/permission/getPermissionByEmpId/{empid}")
	public List<Permission> getPermissionByUserid(@PathVariable String empid);
}
